<?php
$this->breadcrumbs=array(
	'Transferência de '. $model->player0->nickname => array('view','id'=>$model->id),
	'Alterar',
);

$buying = $_SESSION['owner']->id == $model->teamBuyer->owner_id;

$this->menu=array(
	array('label'=>'Cancelar Proposta','url'=>'#','linkOptions'=>array('submit'=>array('delete','id'=>$model->id, 'result' => 'CANCELADA'),'confirm'=>'Deseja realmente cancelar a transferência?'), 'visible'=>$buying),
);
?>

<h1>Alterar Proposta de Transferência</h1>

<?php echo $this->renderPartial('_form',array('model'=>$model, 'message'=>'')); ?>